package spring.bean.qualifier;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Created by kassadin@foxmail.com on 2017/4/24 0024.
 */
@Component
public class Xiaohong {
    @Bean
    @QualifierGirl
    public User getUser3() {
        return new User("小红girl", 14);
    }
}
